package cron.task.web;

import cron.admin.AdminHttpServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * @author : willian fu
 * @version : 1.0
 * @date : 2021/3/3 0003 13:04
 */
@SpringBootApplication
public class App implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        AdminHttpServer.INSTANCE.stater();
    }
}
